package com.daka.dao;


import com.daka.entity.ActivityApply;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "activityApplyDao")
@SQLMapper
public interface ActivityApplyDao {
    int deleteByPrimaryKey(Integer id);

    int insert(ActivityApply record);

    ActivityApply selectByPrimaryKey(Integer id);

    List<ActivityApply> selectByStatement(ActivityApply record);

    int updateByPrimaryKeySelective(ActivityApply record);

    int countActApply(Integer activity);
}